class CreateDocuments < ActiveRecord::Migration
  def self.up
    create_table :documents do |t|
       t.column :ecase_id, :integer, :null => false
       t.column :url, :string, :null => false
       t.column :description, :string
       t.column :author_id, :integer, :null => false
    end
  end

  def self.down
    drop_table :documents
  end
end